package org.com.structuralPattern.bridgePattern;

/**
 * @author Jonny
 * @version 1.0
 * @Description:
 * @date 2021/4/15 14:17
 */



public class Square extends AbstractShape {
    public Square(Color color){
        super(color);
    }

    @Override
    public void draw() {
        System.out.println("使用"+color.getColor()+"画正方形");
    }
}
